import { http } from '@/utils/http'

/**
 * 分类查询新闻列表
 * @param
 */
export const getNewsListAPI = () => {
  return http({
    url: '/festival-api/article/article/selectByCategory',
  })
}

/**
 * 查询新闻详情
 * @param
 */
export const getNewsDetailAPI = (id) => {
  return http({
    url: `/article/article/${id}`,
  })
}

